package com.cloud.poetry.chatroom;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author mengxj
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan({"com.cloud.poetry.chatroom", "com.cloud.poetry.base.feign.fallback", "com.cloud.poetry.core"})
@EnableFeignClients(basePackages = "com.cloud.poetry.base.feign")
public class ChatRoomApplication {

    public static void main(String[] args) {
        SpringApplication.run(ChatRoomApplication.class);
    }
}
